<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	{% include 'htmlhead.html' %}
	{% block feed%} {%endblock%}
	<link rel="stylesheet" href="/media/css/default.css" type="text/css" />
	<link rel="stylesheet" href="/media/jquery/theme/ui.all.css" type="text/css" media="screen" />
	<script type="text/javascript" src="/media/jquery/jquery.ui.all.js"></script>
	<script type="text/javascript" src="/media/jquery/jquery.form.js"></script>
	<script type="text/javascript" src="/media/jquery/jquery.FCKEditor.js"></script>
	<script type="text/javascript" src="/media/js/admin.js"></script>
	{% block other_media%} {% endblock %}
</head>

<body>
	<div id="ajax_message">正在加载...</div>
	<!-- wrap starts here -->
	<div id="wrap">
			
		<!--header -->
		<div id="header">			
				
			<h1 id="logo-text">没有比人<span class="gray">更高的山</span></h1>		
			<h2 id="slogan">www.zhlwish.cn</h2>
				
			<form class="search" method="post" action="#">
				<p>
	  			<input class="textbox" type="text" name="search_query" value="" />
	 			<input class="button" type="submit" name="Submit" value="GO" />
				</p>
			</form>			
				
		</div>
		
		<!-- menu -->	
		<div  id="menu">
			<ul>
				<li {% ifequal mod 'home'%}id="current"{% endifequal %}><a href="/">首页</a></li>
				<li {% ifequal mod 'blog'%}id="current"{% endifequal %}><a href="/blog/">日志</a></li>
				<!-- <li {% ifequal mod 'work'%}id="current"{% endifequal %}><a href="/work/">作品</a></li> -->
				<li {% ifequal mod 'photo'%}id="current"{% endifequal %}><a href="/photo/">相册</a></li>
				<li {% ifequal mod 'download'%}id="current"{% endifequal %}><a href="/download/">下载</a></li>
				<li {% ifequal mod 'resume'%}id="current"{% endifequal %}><a href="/resume/">简历</a></li>
				{% ifequal None login_user %}<li><a href="{{login_url}}">登录</a></li>{% endifequal %}
				{% ifnotequal None login_user %}<li><a href="{{logout_url}}">退出</a></li>{% endifnotequal %}
			</ul>
		</div>
		
		<div id="content-wrap">
		<!-- content-wrap starts here -->
			{% block content %} 
			{%endblock%}
		<!-- content-wrap ends here -->	
		</div>
		
		<!--footer starts here-->
		<div id="footer">
			<p> &copy; 2008 <strong><a href="http://www.zhlwish.com" target="_self">没有比人更高的山</a></strong> | Design by: <a href="http://www.styleshout.com/">styleshout</a> | Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.zhlwish.com">Home</a>&nbsp;|&nbsp;<a href="/sitemap/">Sitemap</a>&nbsp;|&nbsp;<a href="/rss/blog/">RSS Feed</a>&nbsp;&nbsp;&nbsp;&nbsp; Courtesy <a href="http://www.openwebdesign.org" target="_blank">Open Web Design</a><a href="http://www.dubaiapartments.biz" target="_blank">&nbsp;&nbsp;</a>Thanks to <a href="http://www.dubaiapartments.biz/" target="_blank">Dubai Hotels</a></p>
		</div>	
	
	<!-- wrap ends here -->
	</div>
	<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
	try {
		var pageTracker = _gat._getTracker("UA-5941333-6");
		pageTracker._trackPageview();
	} catch(err) {}
	</script>
</body>
</html>
